.class public Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;
.super Lcom/waiqin365/lightapp/base/WqBaseActivity;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field public final a:Ljava/lang/String;

.field private b:Landroid/widget/ImageView;

.field private c:Landroid/widget/TextView;

.field private d:Landroid/widget/TextView;

.field private e:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

.field private f:Landroid/widget/LinearLayout;

.field private g:Landroid/widget/LinearLayout;

.field private h:Landroid/os/Handler;

.field private i:Ljava/util/ArrayList;

.field private j:Lcom/waiqin365/lightapp/visit/b/p;

.field private k:Ljava/lang/String;

.field private l:Landroid/content/Context;

.field private m:Landroid/widget/RelativeLayout;

.field private n:Landroid/widget/LinearLayout;

.field private o:Landroid/view/View;

.field private p:Landroid/widget/Button;

.field private q:Landroid/widget/Button;

.field private r:Landroid/widget/TextView;

.field private s:Ljava/util/ArrayList;

.field private t:I

.field private u:Lcom/waiqin365/lightapp/view/NoNetView;

.field private v:Lcom/waiqin365/lightapp/dailyreport/c/e;

.field private w:I

.field private x:Lcom/waiqin365/lightapp/view/hr;


# direct methods
.method public constructor <init>()V
    .locals 1

    invoke-direct {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;-><init>()V

    invoke-static {}, Ljava/util/UUID;->randomUUID()Ljava/util/UUID;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/UUID;->toString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->a:Ljava/lang/String;

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;I)I
    .locals 0

    iput p1, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->t:I

    return p1
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;Lcom/waiqin365/lightapp/dailyreport/c/e;)Lcom/waiqin365/lightapp/dailyreport/c/e;
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->v:Lcom/waiqin365/lightapp/dailyreport/c/e;

    return-object p1
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;Ljava/util/ArrayList;)Ljava/util/ArrayList;
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->s:Ljava/util/ArrayList;

    return-object p1
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->d()V

    return-void
.end method

.method private a(Ljava/lang/String;)V
    .locals 3

    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    const-string/jumbo v1, "condition.visitId"

    invoke-virtual {v0, v1, p1}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string/jumbo v1, "condition.flowType"

    const-string/jumbo v2, "1"

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    new-instance v1, Lcom/waiqin365/lightapp/visit/a/a/r;

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->k:Ljava/lang/String;

    invoke-direct {v1, v2, v0}, Lcom/waiqin365/lightapp/visit/a/a/r;-><init>(Ljava/lang/String;Ljava/util/HashMap;)V

    new-instance v0, Lcom/waiqin365/lightapp/visit/a/b;

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->h:Landroid/os/Handler;

    invoke-direct {v0, v2, v1}, Lcom/waiqin365/lightapp/visit/a/b;-><init>(Landroid/os/Handler;Lcom/waiqin365/lightapp/visit/a/c;)V

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/visit/a/b;->start()V

    return-void
.end method

.method static synthetic b(Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;I)I
    .locals 0

    iput p1, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->w:I

    return p1
.end method

.method static synthetic b(Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;)Landroid/widget/RelativeLayout;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->m:Landroid/widget/RelativeLayout;

    return-object v0
.end method

.method private b()V
    .locals 1

    new-instance v0, Lcom/waiqin365/lightapp/visit/as;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/visit/as;-><init>(Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->h:Landroid/os/Handler;

    return-void
.end method

.method static synthetic c(Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;)Ljava/util/ArrayList;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->s:Ljava/util/ArrayList;

    return-object v0
.end method

.method private c()V
    .locals 6

    const v5, 0x7f0b0039

    const/16 v4, 0x1a

    const/16 v3, 0x8

    const v0, 0x7f0c0c4f

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->b:Landroid/widget/ImageView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->b:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c0c51

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->c:Landroid/widget/TextView;

    const v0, 0x7f0c0cb6

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->m:Landroid/widget/RelativeLayout;

    const v0, 0x7f0c0cb7

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->o:Landroid/view/View;

    const v0, 0x7f0c0c5a

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->p:Landroid/widget/Button;

    const v0, 0x7f0c0cb2

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->n:Landroid/widget/LinearLayout;

    const v0, 0x7f0c0cb8

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->q:Landroid/widget/Button;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->p:Landroid/widget/Button;

    const-string/jumbo v1, ""

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->p:Landroid/widget/Button;

    invoke-virtual {v0, p0}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->n:Landroid/widget/LinearLayout;

    invoke-virtual {v0, p0}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->q:Landroid/widget/Button;

    invoke-virtual {v0, p0}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->m:Landroid/widget/RelativeLayout;

    invoke-virtual {v0, v3}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "title"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->c:Landroid/widget/TextView;

    const v1, 0x7f080849

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(I)V

    :goto_0
    const v0, 0x7f0c0c52

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->d:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->d:Landroid/widget/TextView;

    invoke-virtual {v0, p0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->d:Landroid/widget/TextView;

    const v1, 0x7f080851

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->d:Landroid/widget/TextView;

    invoke-static {v4, v4, v4}, Landroid/graphics/Color;->rgb(III)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    const v0, 0x7f0c0c58

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    invoke-virtual {v0, v3}, Landroid/widget/Button;->setVisibility(I)V

    const v0, 0x7f0c0c59

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    invoke-virtual {v0, v3}, Landroid/widget/Button;->setVisibility(I)V

    const v0, 0x7f0c0cb5

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->r:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->r:Landroid/widget/TextView;

    const v1, 0x7f080848

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(I)V

    const v0, 0x7f0c0c56

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->e:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->e:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    invoke-virtual {v0, v5}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setHeadViewBackgroundResource(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->e:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    invoke-virtual {v0, v5}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setFooterViewBackgroundResource(I)V

    const v0, 0x7f0c0c54

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->g:Landroid/widget/LinearLayout;

    const v0, 0x7f0c0c57

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->f:Landroid/widget/LinearLayout;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->g:Landroid/widget/LinearLayout;

    const/4 v1, 0x4

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    const v0, 0x7f0c00cb

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/NoNetView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->u:Lcom/waiqin365/lightapp/view/NoNetView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->u:Lcom/waiqin365/lightapp/view/NoNetView;

    iget-object v0, v0, Lcom/waiqin365/lightapp/view/NoNetView;->b:Landroid/widget/TextView;

    invoke-virtual {v0, p0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c0cb3

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    invoke-virtual {v0, v3}, Landroid/widget/LinearLayout;->setVisibility(I)V

    new-instance v0, Lcom/waiqin365/lightapp/visit/b/p;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->i:Ljava/util/ArrayList;

    invoke-direct {v0, p0, v1}, Lcom/waiqin365/lightapp/visit/b/p;-><init>(Landroid/content/Context;Ljava/util/ArrayList;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->j:Lcom/waiqin365/lightapp/visit/b/p;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->e:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->j:Lcom/waiqin365/lightapp/visit/b/p;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setAdapter(Landroid/widget/BaseAdapter;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->e:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->f()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->e:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    new-instance v1, Lcom/waiqin365/lightapp/visit/at;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/visit/at;-><init>(Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setonRefreshListener(Lcom/waiqin365/lightapp/dailyreport/view/z;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->e:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    new-instance v1, Lcom/waiqin365/lightapp/visit/au;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/visit/au;-><init>(Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setonHistoryListener(Lcom/waiqin365/lightapp/dailyreport/view/aa;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->e:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    new-instance v1, Lcom/waiqin365/lightapp/visit/av;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/visit/av;-><init>(Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setOnItemClickListener(Landroid/widget/AdapterView$OnItemClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->j:Lcom/waiqin365/lightapp/visit/b/p;

    new-instance v1, Lcom/waiqin365/lightapp/visit/aw;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/visit/aw;-><init>(Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/visit/b/p;->a(Lcom/waiqin365/lightapp/visit/b/s;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->j:Lcom/waiqin365/lightapp/visit/b/p;

    new-instance v1, Lcom/waiqin365/lightapp/visit/ax;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/visit/ax;-><init>(Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/visit/b/p;->b(Lcom/waiqin365/lightapp/visit/b/s;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->j:Lcom/waiqin365/lightapp/visit/b/p;

    new-instance v1, Lcom/waiqin365/lightapp/visit/ay;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/visit/ay;-><init>(Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/visit/b/p;->a(Lcom/waiqin365/lightapp/visit/b/t;)V

    return-void

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->c:Landroid/widget/TextView;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->getIntent()Landroid/content/Intent;

    move-result-object v1

    const-string/jumbo v2, "title"

    invoke-virtual {v1, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto/16 :goto_0
.end method

.method static synthetic d(Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;)Landroid/widget/LinearLayout;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->f:Landroid/widget/LinearLayout;

    return-object v0
.end method

.method private d()V
    .locals 4

    new-instance v0, Lcom/waiqin365/lightapp/visit/a/a/c;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->k:Ljava/lang/String;

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->v:Lcom/waiqin365/lightapp/dailyreport/c/e;

    iget-object v2, v2, Lcom/waiqin365/lightapp/dailyreport/c/e;->a:Ljava/lang/String;

    iget v3, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->t:I

    invoke-direct {v0, v1, v2, v3}, Lcom/waiqin365/lightapp/visit/a/a/c;-><init>(Ljava/lang/String;Ljava/lang/String;I)V

    new-instance v1, Lcom/waiqin365/lightapp/visit/a/b;

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->h:Landroid/os/Handler;

    invoke-direct {v1, v2, v0}, Lcom/waiqin365/lightapp/visit/a/b;-><init>(Landroid/os/Handler;Lcom/waiqin365/lightapp/visit/a/c;)V

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/visit/a/b;->start()V

    return-void
.end method

.method static synthetic e(Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;)Landroid/widget/LinearLayout;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->g:Landroid/widget/LinearLayout;

    return-object v0
.end method

.method private e()V
    .locals 4

    new-instance v0, Landroid/content/Intent;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->l:Landroid/content/Context;

    const-class v2, Lcom/waiqin365/lightapp/kehu/OfflineCmSelectActivity;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    new-instance v1, Lcom/waiqin365/lightapp/kehu/b/cc;

    invoke-direct {v1}, Lcom/waiqin365/lightapp/kehu/b/cc;-><init>()V

    const-class v2, Lcom/waiqin365/lightapp/visit/SeniorVisitProcessSelectActivity;

    invoke-virtual {v2}, Ljava/lang/Class;->getName()Ljava/lang/String;

    move-result-object v2

    iput-object v2, v1, Lcom/waiqin365/lightapp/kehu/b/cc;->f:Ljava/lang/String;

    const-string/jumbo v2, "nothing"

    iput-object v2, v1, Lcom/waiqin365/lightapp/kehu/b/cc;->i:Ljava/lang/String;

    new-instance v2, Landroid/os/Bundle;

    invoke-direct {v2}, Landroid/os/Bundle;-><init>()V

    const-string/jumbo v3, "param"

    invoke-virtual {v2, v3, v1}, Landroid/os/Bundle;->putSerializable(Ljava/lang/String;Ljava/io/Serializable;)V

    invoke-virtual {v0, v2}, Landroid/content/Intent;->putExtras(Landroid/os/Bundle;)Landroid/content/Intent;

    const/16 v1, 0xce

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->startActivityForResult(Landroid/content/Intent;I)V

    const v0, 0x7f040022

    const v1, 0x7f040021

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->overridePendingTransition(II)V

    return-void
.end method

.method static synthetic f(Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;)Lcom/waiqin365/lightapp/view/NoNetView;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->u:Lcom/waiqin365/lightapp/view/NoNetView;

    return-object v0
.end method

.method static synthetic g(Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;)Landroid/widget/Button;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->p:Landroid/widget/Button;

    return-object v0
.end method

.method static synthetic h(Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;)Landroid/view/View;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->o:Landroid/view/View;

    return-object v0
.end method

.method static synthetic i(Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;)Landroid/widget/Button;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->q:Landroid/widget/Button;

    return-object v0
.end method

.method static synthetic j(Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;)Lcom/waiqin365/lightapp/dailyreport/c/e;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->v:Lcom/waiqin365/lightapp/dailyreport/c/e;

    return-object v0
.end method

.method static synthetic k(Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;)I
    .locals 2

    iget v0, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->t:I

    add-int/lit8 v1, v0, 0x1

    iput v1, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->t:I

    return v0
.end method

.method static synthetic l(Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;)Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->e:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    return-object v0
.end method

.method static synthetic m(Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->l:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic n(Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;)Ljava/util/ArrayList;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->i:Ljava/util/ArrayList;

    return-object v0
.end method

.method static synthetic o(Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;)Lcom/waiqin365/lightapp/visit/b/p;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->j:Lcom/waiqin365/lightapp/visit/b/p;

    return-object v0
.end method

.method static synthetic p(Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;)I
    .locals 1

    iget v0, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->w:I

    return v0
.end method


# virtual methods
.method public a()V
    .locals 8

    const/4 v4, 0x0

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->l:Landroid/content/Context;

    const-string/jumbo v1, "route_first_hint"

    const/4 v2, 0x1

    invoke-static {v0, v1, v2}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/content/Context;Ljava/lang/String;Z)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->x:Lcom/waiqin365/lightapp/view/hr;

    if-nez v0, :cond_0

    new-instance v0, Lcom/waiqin365/lightapp/view/hr;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->l:Landroid/content/Context;

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->p:Landroid/widget/Button;

    invoke-direct {v0, v1, v2}, Lcom/waiqin365/lightapp/view/hr;-><init>(Landroid/content/Context;Landroid/view/View;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->x:Lcom/waiqin365/lightapp/view/hr;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->x:Lcom/waiqin365/lightapp/view/hr;

    const v1, 0x7f080847

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/hr;->a(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->x:Lcom/waiqin365/lightapp/view/hr;

    new-instance v1, Lcom/waiqin365/lightapp/visit/ar;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/visit/ar;-><init>(Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/hr;->a(Landroid/widget/PopupWindow$OnDismissListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->x:Lcom/waiqin365/lightapp/view/hr;

    sget-object v1, Lcom/waiqin365/lightapp/view/ht;->a:Lcom/waiqin365/lightapp/view/ht;

    sget-object v2, Lcom/waiqin365/lightapp/view/hu;->b:Lcom/waiqin365/lightapp/view/hu;

    const/16 v3, 0x5a

    const/16 v5, -0x2d

    const/16 v6, 0xa

    move v7, v4

    invoke-virtual/range {v0 .. v7}, Lcom/waiqin365/lightapp/view/hr;->a(Lcom/waiqin365/lightapp/view/ht;Lcom/waiqin365/lightapp/view/hu;IIIII)V

    :cond_0
    return-void
.end method

.method public back()V
    .locals 2

    const/4 v0, -0x1

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->setResult(I)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->finish()V

    const v0, 0x7f040020

    const v1, 0x7f040023

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->overridePendingTransition(II)V

    return-void
.end method

.method protected onActivityResult(IILandroid/content/Intent;)V
    .locals 3

    const/4 v1, 0x0

    invoke-super {p0, p1, p2, p3}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onActivityResult(IILandroid/content/Intent;)V

    sparse-switch p1, :sswitch_data_0

    :cond_0
    :goto_0
    return-void

    :sswitch_0
    if-eqz p3, :cond_0

    const-string/jumbo v0, "isModify"

    invoke-virtual {p3, v0, v1}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v0

    if-eqz v0, :cond_0

    const-string/jumbo v0, ""

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->showProgressDialog(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->i:Ljava/util/ArrayList;

    iget v1, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->w:I

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/visit/b/bd;

    iget-object v0, v0, Lcom/waiqin365/lightapp/visit/b/bd;->a:Ljava/lang/String;

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->a(Ljava/lang/String;)V

    goto :goto_0

    :sswitch_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->j:Lcom/waiqin365/lightapp/visit/b/p;

    iget v0, v0, Lcom/waiqin365/lightapp/visit/b/p;->b:I

    iput v0, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->w:I

    if-eqz p3, :cond_0

    const-string/jumbo v0, "isModify"

    invoke-virtual {p3, v0, v1}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v0

    if-eqz v0, :cond_0

    iget v0, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->w:I

    if-ltz v0, :cond_0

    const-string/jumbo v0, "modifyInfo"

    invoke-virtual {p3, v0}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    if-eqz v0, :cond_1

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->i:Ljava/util/ArrayList;

    iget v2, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->w:I

    const-string/jumbo v0, "modifyInfo"

    invoke-virtual {p3, v0}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/visit/b/bd;

    invoke-virtual {v1, v2, v0}, Ljava/util/ArrayList;->set(ILjava/lang/Object;)Ljava/lang/Object;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->j:Lcom/waiqin365/lightapp/visit/b/p;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/visit/b/p;->notifyDataSetChanged()V

    goto :goto_0

    :cond_1
    const-string/jumbo v0, ""

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->showProgressDialog(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->i:Ljava/util/ArrayList;

    iget v1, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->w:I

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/visit/b/bd;

    iget-object v0, v0, Lcom/waiqin365/lightapp/visit/b/bd;->a:Ljava/lang/String;

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->a(Ljava/lang/String;)V

    goto :goto_0

    :sswitch_2
    if-eqz p3, :cond_0

    const-string/jumbo v0, "isModify"

    invoke-virtual {p3, v0, v1}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->e:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->e()V

    goto :goto_0

    :sswitch_data_0
    .sparse-switch
        0x66 -> :sswitch_0
        0xcd -> :sswitch_1
        0xd1 -> :sswitch_2
    .end sparse-switch
.end method

.method public onClick(Landroid/view/View;)V
    .locals 8

    const v7, 0x7f040022

    const v6, 0x7f040021

    const/4 v2, 0x0

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    sparse-switch v0, :sswitch_data_0

    :goto_0
    return-void

    :sswitch_0
    invoke-virtual {p0}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->back()V

    goto :goto_0

    :sswitch_1
    invoke-direct {p0}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->e()V

    goto :goto_0

    :sswitch_2
    new-instance v0, Landroid/content/Intent;

    const-class v1, Lcom/waiqin365/lightapp/dailyreport/SimpleSelectMultActivity;

    invoke-direct {v0, p0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string/jumbo v1, "list"

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->s:Ljava/util/ArrayList;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    const-string/jumbo v1, "isSingleSelect"

    const/4 v2, 0x1

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    new-instance v1, Ljava/util/ArrayList;

    invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->v:Lcom/waiqin365/lightapp/dailyreport/c/e;

    invoke-virtual {v2}, Lcom/waiqin365/lightapp/dailyreport/c/e;->a()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    const-string/jumbo v2, "selected"

    invoke-virtual {v0, v2, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    const-string/jumbo v1, "title"

    const v2, 0x7f08084a

    invoke-virtual {p0, v2}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v1, "returnTo"

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->a:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->startActivity(Landroid/content/Intent;)V

    invoke-virtual {p0, v7, v6}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->overridePendingTransition(II)V

    invoke-static {}, Lcom/waiqin365/lightapp/view/a/b;->a()Ljava/util/Observable;

    move-result-object v0

    invoke-virtual {v0, p0}, Ljava/util/Observable;->addObserver(Ljava/util/Observer;)V

    goto :goto_0

    :sswitch_3
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->i:Ljava/util/ArrayList;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->i:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-nez v0, :cond_1

    :cond_0
    const v0, 0x7f0805af

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-static {p0, v0, v2}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    goto :goto_0

    :cond_1
    new-instance v3, Ljava/util/ArrayList;

    invoke-direct {v3}, Ljava/util/ArrayList;-><init>()V

    move v1, v2

    :goto_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->i:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-ge v1, v0, :cond_3

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->i:Ljava/util/ArrayList;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/visit/b/bd;

    iget-object v4, v0, Lcom/waiqin365/lightapp/visit/b/bd;->o:Ljava/lang/String;

    invoke-static {v4}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v4

    if-nez v4, :cond_2

    iget-object v4, v0, Lcom/waiqin365/lightapp/visit/b/bd;->o:Ljava/lang/String;

    const-string/jumbo v5, ","

    invoke-virtual {v4, v5}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v4

    if-eqz v4, :cond_2

    invoke-virtual {v3, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    :cond_2
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_1

    :cond_3
    invoke-virtual {v3}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-nez v0, :cond_4

    const v0, 0x7f08057d

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-static {p0, v0, v2}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    goto/16 :goto_0

    :cond_4
    new-instance v0, Lcom/waiqin365/lightapp/visit/az;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/visit/az;-><init>(Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;)V

    invoke-static {v3, v0}, Ljava/util/Collections;->sort(Ljava/util/List;Ljava/util/Comparator;)V

    new-instance v0, Landroid/content/Intent;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->l:Landroid/content/Context;

    const-class v2, Lcom/waiqin365/lightapp/visit/RouteVisiMapActivity;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string/jumbo v1, "list"

    invoke-virtual {v0, v1, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    const-string/jumbo v1, "title"

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->v:Lcom/waiqin365/lightapp/dailyreport/c/e;

    iget-object v2, v2, Lcom/waiqin365/lightapp/dailyreport/c/e;->b:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const/16 v1, 0xd1

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->startActivityForResult(Landroid/content/Intent;I)V

    invoke-virtual {p0, v7, v6}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->overridePendingTransition(II)V

    goto/16 :goto_0

    :sswitch_4
    new-instance v0, Landroid/content/Intent;

    const-class v1, Lcom/waiqin365/lightapp/visit/SeniorVisitRecordActivity;

    invoke-direct {v0, p0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->startActivity(Landroid/content/Intent;)V

    invoke-virtual {p0, v7, v6}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->overridePendingTransition(II)V

    goto/16 :goto_0

    :sswitch_5
    const v0, 0x7f08056c

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->showProgressDialog(Ljava/lang/String;)V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->d()V

    goto/16 :goto_0

    :sswitch_data_0
    .sparse-switch
        0x7f0c0c3d -> :sswitch_5
        0x7f0c0c4f -> :sswitch_0
        0x7f0c0c52 -> :sswitch_1
        0x7f0c0c5a -> :sswitch_2
        0x7f0c0cb2 -> :sswitch_3
        0x7f0c0cb8 -> :sswitch_4
    .end sparse-switch
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 2

    const/4 v1, 0x0

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onCreate(Landroid/os/Bundle;)V

    iput-object p0, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->l:Landroid/content/Context;

    invoke-static {p0}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/app/Activity;)V

    const v0, 0x7f030299

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->setContentView(I)V

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/waiqin365/base/login/mainview/a;->p(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->k:Ljava/lang/String;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->i:Ljava/util/ArrayList;

    new-instance v0, Lcom/waiqin365/lightapp/dailyreport/c/e;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/dailyreport/c/e;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->v:Lcom/waiqin365/lightapp/dailyreport/c/e;

    const/4 v0, 0x1

    iput v0, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->t:I

    invoke-direct {p0}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->b()V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->c()V

    const v0, 0x7f08056c

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->showProgressDialog(Ljava/lang/String;)V

    new-instance v0, Lcom/waiqin365/lightapp/visit/aq;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/visit/aq;-><init>(Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;)V

    invoke-static {p0, v1, v1, v0}, Lcom/waiqin365/lightapp/kehu/c/b;->a(Landroid/content/Context;ZZLcom/waiqin365/lightapp/kehu/c/l;)V

    return-void
.end method

.method public update(Ljava/util/Observable;Ljava/lang/Object;)V
    .locals 3

    if-eqz p2, :cond_0

    instance-of v0, p2, Lcom/waiqin365/lightapp/view/a/a;

    if-eqz v0, :cond_0

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->a:Ljava/lang/String;

    move-object v0, p2

    check-cast v0, Lcom/waiqin365/lightapp/view/a/a;

    iget-object v0, v0, Lcom/waiqin365/lightapp/view/a/a;->a:Ljava/lang/String;

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-static {}, Lcom/waiqin365/lightapp/view/a/b;->a()Ljava/util/Observable;

    move-result-object v0

    invoke-virtual {v0, p0}, Ljava/util/Observable;->deleteObserver(Ljava/util/Observer;)V

    check-cast p2, Lcom/waiqin365/lightapp/view/a/a;

    iget-object v0, p2, Lcom/waiqin365/lightapp/view/a/a;->b:Ljava/lang/Object;

    check-cast v0, Ljava/util/List;

    if-eqz v0, :cond_0

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v1

    if-lez v1, :cond_0

    const/4 v1, 0x0

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/c/e;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->v:Lcom/waiqin365/lightapp/dailyreport/c/e;

    iget-object v1, v1, Lcom/waiqin365/lightapp/dailyreport/c/e;->a:Ljava/lang/String;

    iget-object v2, v0, Lcom/waiqin365/lightapp/dailyreport/c/e;->a:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_1

    :cond_0
    :goto_0
    return-void

    :cond_1
    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->v:Lcom/waiqin365/lightapp/dailyreport/c/e;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->p:Landroid/widget/Button;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->v:Lcom/waiqin365/lightapp/dailyreport/c/e;

    iget-object v1, v1, Lcom/waiqin365/lightapp/dailyreport/c/e;->b:Ljava/lang/String;

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    const/4 v0, 0x1

    iput v0, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->t:I

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->i:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V

    const v0, 0x7f08056c

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->showProgressDialog(Ljava/lang/String;)V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->d()V

    goto :goto_0
.end method
